//
//  DiseaseCell.m
//  KYProject
//
//  Created by Roman on 16/12/20.
//  Copyright © 2016年 Roman. All rights reserved.
//

#import "DiseaseCell.h"

@implementation DiseaseCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.lb_name.font = [UIFont systemFontOfSize:15];
}

- (void)setCount:(NSInteger)count
{
    _count  = count;
    
    switch (_count) {
        case 0:
            _iv_image.image = [UIImage imageNamed:@"zl"];
            _lb_name.text = @"肿瘤";
            break;
        case 1:
            _iv_image.image = [UIImage imageNamed:@"xyg"];
            _lb_name.text = @"心血管";
            break;
        case 2:
            _iv_image.image = [UIImage imageNamed:@"sj"];
            _lb_name.text = @"神经科";
            break;
        case 3:
            _iv_image.image = [UIImage imageNamed:@"xy"];
            _lb_name.text = @"血液科";
            break;
        case 4:
            _iv_image.image = [UIImage imageNamed:@"gt"];
            _lb_name.text = @"骨科";
            break;
        case 5:
            _iv_image.image = [UIImage imageNamed:@"gy"];
            _lb_name.text = @"公益活动";
            break;
        default:
            break;
    }

}

@end
